<h2>Les derniers articles !</h2>

<ul>
<?php foreach($this->articleList as $article) { ?>
    <li><a href="<?php echo  $this->baseUrl(); ?>/articles/view/id/<?php echo
    $article->id_article; ?>"><?php echo  $article->titre; ?></a> (<?php echo $article->ts_creation; ?>)</li>
<?php } ?>
</ul>

<h2>Les derniers évènements !</h2>

<ul>
<?php foreach($this->eventList as $event) { ?>
    <li><a href="<?php echo  $this->baseUrl(); ?>/articles/viewevent/id/<?php echo
    $event->id_event; ?>"><?php echo  $event->nom_event; ?></a> (<?php echo $event->ts_creation; ?>)</li>
<?php } ?>
</ul>
